package com.weixiao.domain;

import java.util.Date;

public class DingDan {
    private Integer userId;
    private Integer goodsId;
    private Date createTime;

    public DingDan() {
    }

    public DingDan(Integer userId, Integer goodsId, Date createTime) {
        this.userId = userId;
        this.goodsId = goodsId;
        this.createTime = createTime;
    }

    public Integer getUserId() {
        return userId;
    }

    public void setUserId(Integer userId) {
        this.userId = userId;
    }

    public Integer getGoodsId() {
        return goodsId;
    }

    public void setGoodId(Integer goodsId) {
        this.goodsId = goodsId;
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    @Override
    public String toString() {
        return "DingDan{" +
                "userId=" + userId +
                ", goodsId=" + goodsId +
                ", createTime=" + createTime +
                '}';
    }
}
